package com.wisely.xxboot;

import org.springframework.jms.core.MessageCreator;

import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.Session;

/**
 * <p>Description:</p>
 * <p>Copyright: Copyright (c) 2017</p>
 * <p>Company: 中视数讯</p>
 * <p>Site: www.digi-zones.com</p>
 *
 * @author shengping
 * @version 1.0
 * @date 2017/7/4
 */
public class Msg implements MessageCreator {
    @Override
    public Message createMessage(Session var1) throws JMSException{
        return var1.createTextMessage("测试消息");
    }
}
